package com.swu.education.repository;

import com.swu.education.entity.Progress;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * Created by nana on 2018/4/9.
 */
@Repository
public interface ProgressRepository extends JpaRepository<Progress,Integer>{

  public Progress findProgressByUserIdAndActivityId(int userId,int activityId);

}
